import request from '@/utils/request'

function getAllMajors() {
  return request({
    url: '/major/',
    method: 'get'
  })
}

export default {
  getAllMajors
}
